Make the muted content attribute a fallback#12389
Merged
Merged
Conversation
And align the muted getter with the :muted pseudo-class. This also cleans up how we organize all the muted state. This removes the reliance on "creation-time" of the element which is completely bogus as whenever an element is created it has exactly 0 attributes. Fixes #5013.
zcorpan
approved these changes
May 5, 2026
zcorpan
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
May 5, 2026
lando-worker Bot
pushed a commit
to mozilla-firefox/firefox
that referenced
this pull request
May 12, 2026
…y on non-existing element creation-time, a=testonly Automatic update from web-platform-tests HTML: make muted attribute no longer rely on non-existing element creation-time For whatwg/html#12389. -- wpt-commits: 08e7b4ecd7d715f9d1c455073b650d3cdf3f4ff0 wpt-pr: 59322
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this pull request
May 14, 2026
…y on non-existing element creation-time, a=testonly Automatic update from web-platform-tests HTML: make muted attribute no longer rely on non-existing element creation-time For whatwg/html#12389. -- wpt-commits: 08e7b4ecd7d715f9d1c455073b650d3cdf3f4ff0 wpt-pr: 59322 UltraBlame original commit: 86b271d9c544682bbca787e3ce10ac026fc97eec
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this pull request
May 14, 2026
…y on non-existing element creation-time, a=testonly Automatic update from web-platform-tests HTML: make muted attribute no longer rely on non-existing element creation-time For whatwg/html#12389. -- wpt-commits: 08e7b4ecd7d715f9d1c455073b650d3cdf3f4ff0 wpt-pr: 59322 UltraBlame original commit: 86b271d9c544682bbca787e3ce10ac026fc97eec
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this pull request
May 14, 2026
…y on non-existing element creation-time, a=testonly Automatic update from web-platform-tests HTML: make muted attribute no longer rely on non-existing element creation-time For whatwg/html#12389. -- wpt-commits: 08e7b4ecd7d715f9d1c455073b650d3cdf3f4ff0 wpt-pr: 59322 UltraBlame original commit: 86b271d9c544682bbca787e3ce10ac026fc97eec
beckysiegel
pushed a commit
to chromium/chromium
that referenced
this pull request
May 19, 2026
This follows these recent spec and test changes: whatwg/html#12389 web-platform-tests/wpt#59322 whatwg/html#12428 Additional tests added in this CL. Bug: 509570175 Change-Id: I90243d839c74e7ce69ebfea26d38b4f20bc4f333 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7831199 Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/main@{#1632701}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
May 19, 2026
This follows these recent spec and test changes: whatwg/html#12389 #59322 whatwg/html#12428 Additional tests added in this CL. Bug: 509570175 Change-Id: I90243d839c74e7ce69ebfea26d38b4f20bc4f333 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7831199 Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/main@{#1632701}
chromium-wpt-export-bot
pushed a commit
to web-platform-tests/wpt
that referenced
this pull request
May 19, 2026
This follows these recent spec and test changes: whatwg/html#12389 #59322 whatwg/html#12428 Additional tests added in this CL. Bug: 509570175 Change-Id: I90243d839c74e7ce69ebfea26d38b4f20bc4f333 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7831199 Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/main@{#1632701}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
And align the muted getter with the :muted pseudo-class.
This also cleans up how we organize all the muted state. This removes the reliance on "creation-time" of the element which is completely bogus as whenever an element is created it has exactly 0 attributes.
Fixes #5013.
(See WHATWG Working Mode: Changes for more details.)
/media.html ( diff )